source/sand/api.d(29,33): Error: cannot take address of local `api_version` in `@safe` function `init` source/sand/api.d(42,44): Error: cannot take address of local `device_list` in `@safe` function `devices` source/sand/api.d(44,21): Error: pointer arithmetic not allowed in @safe functions source/sand/api.d(46,37): Error: pointer slicing not allowed in safe functions source/sand/api.d(81,25): Error: `@safe` constructor `sand.api.Device.this` cannot call `@system` function `std.conv.to!string.to!(const(char)*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(const(char)*).to` is declared here source/sand/api.d(82,27): Error: `@safe` constructor `sand.api.Device.this` cannot call `@system` function `std.conv.to!string.to!(const(char)*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(const(char)*).to` is declared here source/sand/api.d(83,26): Error: `@safe` constructor `sand.api.Device.this` cannot call `@system` function `std.conv.to!string.to!(const(char)*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(const(char)*).to` is declared here source/sand/api.d(84,25): Error: `@safe` constructor `sand.api.Device.this` cannot call `@system` function `std.conv.to!string.to!(const(char)*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(const(char)*).to` is declared here source/sand/api.d(106,37): Error: cannot take address of local `p` in `@safe` function `parameters` source/sand/api.d(127,45): Error: cannot take address of local `params` in `@safe` function `readImage` source/sand/api.d(133,26): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead source/sand/api.d(134,57): Error: cannot take address of local `length` in `@safe` function `readImage` source/sand/api.d(147,45): Error: cannot take address of local `params` in `@safe` function `readImageAsync` source/sand/api.d(153,26): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead source/sand/api.d(154,57): Error: cannot take address of local `length` in `@safe` function `readImageAsync` source/sand/api.d(191,25): Error: `@safe` constructor `sand.api.Option.this` cannot call `@system` function `std.conv.to!string.to!(const(char)*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(const(char)*).to` is declared here source/sand/api.d(192,26): Error: `@safe` constructor `sand.api.Option.this` cannot call `@system` function `std.conv.to!string.to!(const(char)*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(const(char)*).to` is declared here source/sand/api.d(193,32): Error: `@safe` constructor `sand.api.Option.this` cannot call `@system` function `std.conv.to!string.to!(const(char)*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(const(char)*).to` is declared here source/sand/api.d(335,31): Error: field `_Anonymous_0.string_list` cannot access pointers in `@safe` code that overlap other fields source/sand/api.d(336,43): Error: field `_Anonymous_0.string_list` cannot access pointers in `@safe` code that overlap other fields /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.